<!DOCTYPE html>
<html>

<head>
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <title>计算公式13_test</title>
  <link rel="stylesheet" href="./css/gx.css">

  <script src="./js/13.js"></script>
</head>

<body>
  <div class="div1">
    <div class="gx_mk">

      <h3 style="width:250px; ">汽车翻车后车体在路面滑行</h3>
    </div>

    <div class="gx_mk">

      <p class="my_span">公式13:</p>
      <img class="img_gx" src="img/公式13.jpg" alt="Image description">
    </div>
    <div class="gx_mk">

      <p>
        <input type="checkbox" id="mycheck" name="mycheck" onclick="IsSP()" />上坡
        <span class="my_span1">上坡时请勾选此项，否则不勾选</span>
      </p>
      <p>
        <input type="number" class="input_x" id="input1" min="1" placeholder="请输入μ" />
        <span class="my_span">μ：车体与路面的摩擦系数</span>
      </p>


      <p>
        <input type="number" class="input_x" id="input2" min="1" placeholder="请输入i" />
        <span class="my_span">i：坡度</span>
      </p>

      <p>
        <input type="number" class="input_x" id="input3" min="1" placeholder="请输入s" />
        <span class="my_span">s:车体在路面上的滑移距离，单位为米（m）</span>
      </p>
    </div>

    <div class="gx_mk">

      <p>结果:<span id="result">0</span> <span class="my_span">(v：汽车翻车前的瞬间速度，单位为千米每小时(Km/h))</span></p>

      <button onclick="calculate()" class="btn-s">提交</button>
    </div>

  </div>

</body>

</html>